﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GuanYijia.DoMain
{
    //账户信息表
    public class Account
    {
        [Key]
        //主键
        public int AccountId {  get; set; }
        //名称
        [StringLength(100)]
        public string? name {  get; set; }
        //编号
        [StringLength(100)]
        public string? serial_no { get; set; }
        //期初金额
      
        public decimal? initial_amount { get; set; }
        //当前余额
        public decimal? current_amount { get; set; }
        //备注
        [StringLength(100)]
        public string? remark { get; set; }
        //启用
        public bool? enabled { get; set; }
        //排序
        [StringLength(100)]
        public string? sort { get; set; }
        //是否默认
        public bool? is_default { get; set; }
        //租户id
        public int? tenant_id { get; set; }
        //删除标记，0未删除，1删除，默认0
        public bool? deleted_flag { get; set; }
    }
}
